home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 3 / USEnet 3.075 < prev    next >
Encoding:
Internet Message Format  |  1988-04-08  |  29.9 KB  |  [TEXT/ttxt]

  1. Date: Tue 29 Sep 87 10:31:05-EDT
  2. From: Jeff Shulman <SHULMAN@SDR>
  3. Subject: Usenet Mac Digest V3 #75
  4.  
  5. Usenet Mac Digest     Monday, September 28, 1987     Volume 3 : Issue 75
  6.  
  7. Today's Topics:
  8.      Converting Bitmap -> Region
  9.      Delete the resource fork
  10.      Re: DIF & SYLK formats
  11.      Re: Delete the resource fork
  12.      Mac SE SIMMs from MacProducts USA
  13.      Cursor Control
  14.      Format of atalk.local for CAP
  15.      Re: code optimizers
  16.      Re: Converting Bitmap -> Region
  17.      Re: Cursor Control
  18.      Cricket Draw vs. Adobe fonts
  19.      DIF & SYLK Formats - summary
  20.      Re: Cursor Control
  21.      Re: Mac SE SIMMs from MacProducts USA
  22.      New Apple RAM upgrade prices?
  23.      Dialog Creator
  24.      enabling the correct entries in the 'Edit' menu
  25.      LSC bug?
  26.      Porting Apollo software to the Mac
  27.      Re: LSC bug?
  28.      Re: Color for the SE? (Is this a dumb question?)
  29.      Re: APPLESHARE server sitting on ETHERNET
  30.      Audio DACs and ADCs for the Mac II
  31.      Re: Printer Driver
  32.      Re: enabling the correct entries in the 'Edit' menu
  33.      Re: Printer Driver
  34.      Who rules the menu bar?
  35.  
  36. ----------------------------------------------------------------------
  37.  
  38. From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
  39. Subject: Converting Bitmap -> Region
  40. Date: 21 Sep 87 22:02:52 GMT
  41. Organization: Mentor Graphics, Beaverton OR
  42.  
  43. What is a good way to convert a BitMap (ie. icon) to a region?  - or is
  44. there a way? (with out adding to a region pixel by pixel.
  45.  
  46. :------------------------------------------------------------:
  47. : Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
  48. : Mentor Graphics             GEnie:                         :
  49. :------------------------------------------------------------:
  50.  
  51. ------------------------------
  52.  
  53. From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
  54. Subject: Delete the resource fork
  55. Date: 21 Sep 87 22:36:08 GMT
  56. Organization: Mentor Graphics, Beaverton OR
  57.  
  58. Is there anyway to delete the entire resource fork of a  file without
  59. deleting the entire file, and then rewriting the data fork of the file?
  60.  
  61. :------------------------------------------------------------:
  62. : Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
  63. : Mentor Graphics             GEnie:                         :
  64. :------------------------------------------------------------:
  65.  
  66. ------------------------------
  67.  
  68. From: phco@ecsvax.UUCP (John Miller)
  69. Subject: Re: DIF & SYLK formats
  70. Date: 15 Sep 87 13:00:39 GMT
  71. Organization: Univ. of North Carolina at Chapel Hill
  72.  
  73. A description of the DIF and SYLK formats can be found in File Formats
  74. for  Popular PC Software -- A Programmer's Reference, by Jeff Walden,
  75. Wiley IBM PC Series, John Wiley & Sons, Inc., ISBN 0-471-83671-0.
  76.  
  77. The same book contains file format descriptions for Lotus 1-2-3,
  78. Symphony, Ability, dBase II and III, MultiMate, MultiPlan, IBM Plans+,
  79. SuperCalc3, VisiCalc, and WordStar.
  80.  
  81. --
  82.                         John Miller  (ecsvax!phco)
  83.                         Dept. of Pharmacology, Univ. of N.C.-Chapel Hill
  84.                         Chapel Hill, NC 27514       (919) 966-4343
  85.  
  86.  
  87. ------------------------------
  88.  
  89. From: singer@endor.harvard.edu (Andrew Singer)
  90. Subject: Re: Delete the resource fork
  91. Date: 22 Sep 87 15:04:58 GMT
  92. Organization: Aiken Computation Lab Harvard, Cambridge, MA
  93.  
  94. To delete the resource fork, you can do something like this (in pascal):
  95.  
  96.     err = OpenRF(fName, vRefNum, path);
  97.     err = SetEOF(path, fsFromStart, 0);
  98.     err = FSClose(path);
  99.  
  100. But you might want to consider your reasons for deleting resource
  101. forks...
  102.  
  103.         --Rich
  104.  
  105. **NOTE: The opinions (if any) stated herein are my own opinions and do
  106. not represent the policies of my employer, THINK Technologies, Inc.
  107.  
  108.  
  109. ------------------------------
  110.  
  111. From: jasst3@cisunx.UUCP (sullivan jeffrey a.)
  112. Subject: Mac SE SIMMs from MacProducts USA
  113. Date: 19 Sep 87 20:29:13 GMT
  114. Organization: Univ. of Pittsburgh, Comp & Info Sys
  115.  
  116. Does anyone know anything about the $199 1Meg SIMMs being sold by
  117. MacProducts USA (800-MAC-DISK)?  It says "over 4000 upgrades completed",
  118. and "30 money- back guarantee", but I don't know the company who makes
  119. them.  Also, are they user-installed, or do you have to send your Mac
  120. away?
  121.  
  122. Does the installation of these SIMMs void your warranty?  My SE is new,
  123. so it is still under warranty.  I will be needing a memory upgrade soon,
  124. tho... so anyone know of upgrades that DON'T void the warranty?
  125. (Apple's, I suppose.)
  126.  
  127. ..........................................................................
  128. Jeff Sullivan                University of Pittsburgh
  129. pitt!cisunx!jasst3            Intelligent Systems Studies Program
  130. jasper@PittVMS (BITNET)            Graduate Student
  131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  132.  
  133. ------------------------------
  134.  
  135. From: rj0z+@andrew.cmu.edu (Robert George Johnston, Jr.)
  136. Subject: Cursor Control
  137. Date: 20 Sep 87 18:35:36 GMT
  138. Organization: Carnegie Mellon University
  139.  
  140.  
  141.    Does anybody know how to move the cursor from within an application.
  142. (I don't mean with the mouse, but by actually changing the coordinates
  143. with a program). I also need to know if it is possible to constrain the
  144. motion of the cursor to a smaller rectangle than the screen.
  145.    Any ideas?
  146.  
  147.                     Rob Johnston
  148.                     rj0z+@andrew.cmu.edu
  149.  
  150.  
  151. ------------------------------
  152.  
  153. From: fitz@cive.ri.cmu.edu (Kerien Fitzpatrick)
  154. Subject: Format of atalk.local for CAP
  155. Date: 21 Sep 87 00:01:20 GMT
  156. Organization: Carnegie-Mellon University, CS/RI
  157.  
  158. I am running CAP on two Kinetics FastPath boxes to connect our Mac
  159. network to the University ethernet.  I would like to use some of the
  160. printing utility software that is part of the CAP package.  I have
  161. compiled the utility called "lwpr" which is used to print files from a
  162. Vax through the FastPath box to a LaserWriter that is on AppleTalk.  In
  163. order for this to work I need to setup a file called "atalk.local".  The
  164. format that I am using does not seem to work (I compiled the utility
  165. "look" and it cannot see anything at all...just responds "? Open
  166. Failed".).  The format I am using is detailed below.
  167.  
  168. #mynet mynode myzone
  169. 50.254 177 FRC
  170.  
  171. #bridgenet bridgenode bridgeIP
  172. 50.44 10 128.2.44.10
  173.  
  174. The IP address of the mainframe I am on is 128.2.254.177 and the IP
  175. address of the FastPath box is 128.2.44.10.  The zone of my Mac network
  176. is called FRC.  Can anyone tell me if this format is correct?  Does
  177. anyone have an idea what I could be doing wrong?
  178.  
  179.  
  180. Any help would be appreciated.
  181.  
  182. Kerien Fitzpatrick
  183. Field Robotics Center
  184. Robotics Institute
  185. Carnegie Mellon University
  186. fitz@cive.ri.cmu.edu
  187. (412)268-6564
  188.  
  189. ------------------------------
  190.  
  191. From: kdmoen@watcgl.waterloo.edu (Doug Moen)
  192. Subject: Re: code optimizers
  193. Date: 22 Sep 87 07:53:43 GMT
  194. Organization: U. of Waterloo, Ontario
  195.  
  196. >Is there a significant interest market for an external optimizer for
  197. >the Macintosh/Macintosh II?  Recently some CS associates and I have
  198. >discussed the possibility of applying that 'ol computer science
  199. >knowledge toward developing such a product.
  200.  
  201. Sounds like a good idea.
  202.  
  203. >Presently we would envision the system to run under MPW - are there
  204. >objections to this? - and operate on assembler output to maximize
  205. >its functionality among several compilers.
  206.  
  207. The best way to do it is to write an optimizer that works directly on
  208. code resources in compiled Macintosh applications.  That way, you could
  209. take any standard Mac application, and optimize it. The optimizer should
  210. be available as a standard Mac application, it shouldn't restricted to
  211. MPW.  If you plan to sell this thing, then these will be great selling
  212. points.  Your market will not be restricted to developers:  anybody who
  213. wants to supercharge their Mac software would be potential customers.
  214. --
  215. Doug Moen
  216. University of Waterloo Computer Graphics Lab
  217. UUCP:     {ihnp4,watmath}!watcgl!kdmoen
  218. INTERNET: kdmoen@cgl.waterloo.edu
  219.  
  220.  
  221. ------------------------------
  222.  
  223. From: oster@dewey.soe.berkeley.edu (David Phillip Oster)
  224. Subject: Re: Converting Bitmap -> Region
  225. Date: 22 Sep 87 21:17:28 GMT
  226. Organization: School of Education, UC-Berkeley
  227.  
  228. In article <932@mntgfx.MENTOR.COM> tomc@mntgfx.MENTOR.COM (Tom
  229. Carstensen) writes:
  230. >What is a good way to convert a BitMap (ie. icon) to a
  231. >region?  - or is there a way? (with out adding to a region
  232. >pixel by pixel.
  233.  
  234. You might consider why you want to do this. If you merely want to do
  235. some clipping, then you should read the tech note on drawing with ICN#s.
  236. If you want do to a drag gray region kind of thing, then consider this:
  237.  
  238. Allocate a 34x34 offscreen bitmap. Clear it. CopyBits your icon into it:
  239. 1.) using "or" drawing at 0,0 of the offscreen bitmap
  240. 2.) using "or" drawing at 0,2 of the offecreen bitmap
  241. 3.) using "or" drawing at 2,0 of the offscreen bitmap
  242. 4.) using "or" drawing at 2,2 of the offscreen bitmap
  243. 5.) using "bic" drawing at 1,1 of the offscreen bitmap
  244.  
  245. What this does, is create an "outline" of your original icon. You can
  246. drag this offscreen bitmap around on your screen by drawing it to the
  247. screen using CopyBits in XOR mode, and to move it, erase it by drawing
  248. over it in XOR, and draw it in the new position with XOR.
  249.  
  250. Note: These XOR drawing techniques only work if all changing objects do
  251. their drawing using XOR. In general, in a multi-tasking environment they
  252. will not work, but the special case: you are drawing only in your own
  253. window, and no one else is drawing in your window, is common enough for
  254. this still to be a useful technique.  (Also, if you use this technique
  255. only to track the mouse during a mousedown, you won't be calling
  256. WaitNextEvent(), so other tasks won't run during the drag anyway.)
  257.  
  258. --- David Phillip Oster            -The goal of computer science is to build
  259. Arpa: oster@dewey.soe.berkeley.edu -something that will last,'til we finish it
  260. Uucp: {uwvax,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu
  261.  
  262. ------------------------------
  263.  
  264. From: oster@dewey.soe.berkeley.edu (David Phillip Oster)
  265. Subject: Re: Cursor Control
  266. Date: 22 Sep 87 21:27:49 GMT
  267. Organization: School of Education, UC-Berkeley
  268.  
  269. Apple _strongly_ recommends that you not do this. Apple has promised to
  270. deimplement the current mechanism for doing this.  The current mechanism
  271. is documented in Inside Macintosh Vol. 1, at the end of the Event
  272. Manager section. This is the section on "journaling", and it is this
  273. mechanism that I used so that my digitizing tablet drivers can move the
  274. mouse cursor.  If it is going to work with arbitrary programs, you must
  275. do a _lot_ of work to patch the ROMs to get around bugs in people's
  276. application programs. Among the programs that had bugs with this method
  277. were early versions of the ImageWriter Printer driver.
  278.  
  279. >I also need to know if it is possible to constrain the motion of
  280. >the cursor to a smaller rectangle than the screen.
  281.  
  282. You can get the seeming of moving the cursor under program control by
  283. calling HideCursor(), and doing your own graphics to do your own mouse
  284. tracking. In general you should do this only under very tightly
  285. constrained circumstances, since it makes living under a multi-tasking
  286. environment painful.
  287.  
  288. --- David Phillip Oster            --This space for rent.
  289. Arpa: oster@dewey.soe.berkeley.edu --Your message could go here!
  290. Uucp: {uwvax,decvax,ihnp4}!ucbvax!oster%dewey.soe.berkeley.edu
  291.  
  292. ------------------------------
  293.  
  294. From: mkb@rover.ri.cmu.edu (Mike Blackwell)
  295. Subject: Cricket Draw vs. Adobe fonts
  296. Date: 22 Sep 87 21:19:16 GMT
  297. Organization: Carnegie-Mellon University, CS/RI
  298.  
  299. We have discovered (the hard way) a very serious bug in Cricket Draw
  300. which greatly hampers its usefulness to us. Hopefully, this article will
  301. save others time and grief... The basic problem is that Cricket Draw
  302. does not work with non-resident printer fonts from Adobe. Here's the
  303. whole story, as best I can figure out: We have several
  304. LaserWriter-Plus's, and a Linotype L300. The L300 only has the basic set
  305. of LaserWriter fonts: Times, Helvetica, Courier and Symbol. Additional
  306. fonts (like Palatino) can be purchased from Adobe and either loaded into
  307. the L300's memory, or stored on it's internal hard disk. We have
  308. invested several thousand dollars into fonts from Adobe - we have many
  309. beyond the LW+ set, like Goudy, Garamond and Baskerville.
  310.  
  311. The problem stems from Adobe's font protection schemes. Adobe protects
  312. its fonts on three levels: first is the Mac disks that the fonts come on
  313. are copy protected. Next, fonts are initialized to a specific printer,
  314. which keys them to the printer serial number, so once initialized, the
  315. font can only be used on that printer. Finally, there is special code
  316. built into PostScript which is intended to prevent you from extracting
  317. the spline descriptions of "protected" fonts (conceivably, if this
  318. weren't there, you could get by the other forms of copy protection by
  319. loading the fonts, and then sucking them back out).
  320.  
  321. It is this last form of copy protection that screws up Cricket Draw.
  322. Apparently, it tries to perform some operation on the fonts (like
  323. pathforall) which could conceivably be used to extract the font
  324. description. On fonts purchased from Adobe, this causes an "invalid
  325. access" PostScript error, and the file cannot be printed. This is
  326. particularly annoying with pictures using fonts like Palatino - they can
  327. be printed fine on the LW+ (because the font is built in), but cannot be
  328. printed on the L300. Presumably, using downloaded fonts on the
  329. LaserWriter will cause the same problem.
  330.  
  331. I talked to Cricket technical support, and they claim there is no way
  332. for them to fix this, and the problem is Adobe's. The only solution they
  333. could offer is to buy fonts from somebody other than Adobe (they're the
  334. only one using this hairy protection scheme, apparently). It's a little
  335. late for that, and besides, Adobe has the fonts we need. Looks like
  336. Illustrator wins... Too bad, as Cricket Draw is a nice easy program to
  337. whip up simple drawings with.
  338.  
  339.         Mike Blackwell
  340.         The Robotics Institute, Carnegie-Mellon University
  341.         ARPA: mkb@rover.ri.cmu.edu
  342.         Phone: 412-268-8830
  343.  
  344.  
  345. ------------------------------
  346.  
  347. From: sysop@stech.UUCP (Jan Harrington)
  348. Subject: DIF & SYLK Formats - summary
  349. Date: 22 Sep 87 11:35:40 GMT
  350. Organization: Scholastech, Inc., Waltham, Mass.
  351.  
  352. This message is both a thank you and a summary of the responses I
  353. received in regard to my request for sources describing the DIF and SYLK
  354. file formats. A number of people gave me responses, so I though it might
  355. be useful to others to know what was suggested.
  356.  
  357. The basic sources are actually software manuals.
  358.  
  359. DIF - the VisiCalc manual (which I did happen to have laying around)
  360. SYLK - the Microsoft Multiplan manual (which also was sitting on a shelf in
  361.             this office of mine)
  362.  
  363. A good article summarizing DIF - the November, 1981 issue of Byte
  364. A good article summarizing SYLK - the May, 1984 issue of Systems & Software
  365.  
  366. There are also some books describing MS-DOS file formats, though I
  367. didn't personally look at any of them.  (The manuals and articles were
  368. easier to get ahold of, and time was of the essence!)
  369.  
  370. Thanks so much to all of you who responded.
  371.  
  372. Jan Harrington, sysop
  373. Scholastech Telecommunications
  374. ihnp4!husc6!amcad!stech!sysop
  375.  
  376. ------------------------------
  377.  
  378. From: hpai%mindblow.uucp@utah-cs.UUCP (HP AI User)
  379. Subject: Re: Cursor Control
  380. Date: 22 Sep 87 23:44:51 GMT
  381. Organization: Univ of Utah CS Dept
  382.  
  383. I spent a while figuring this out last year, and the answer is yes, but
  384. only if you want to sacrifice compatibility.  There is a set of
  385. undocumented low memory globals on the Mac 128K, 512K, and Plus that
  386. store cursor info, but I have no idea if they're available on the SE or
  387. the II, and there's no guarantee that they'll be there on future
  388. machines.
  389.  
  390. CrsrPin at $834 is a rectangle the cursor is pinned to, initially the
  391. size of the screen (I don't know about multiple-screen systems).  If you
  392. make it larger than the screen the Mac crashes.  When changing cursor
  393. info, set the byte-size boolean CrsrNew at $8CE and wait a tick for the
  394. cursor to be updated.  CrsrCouple, a byte-size boolean at $8CF, is true
  395. if the cursor is coupled to the mouse.  Unset it if you don't want the
  396. user using the mouse.  I couldn't figure out how to move the cursor
  397. other than temporarily setting CrsrPin to a tiny rectangle at the point
  398. I wanted the cursor.
  399.  
  400. Carefully consider why you want to move the cursor.  I used a system
  401. called Geos on my friend's Commodore 64 that always helpfully moved the
  402. cursor to the point where it thought I wanted it.  It drove me crazy. In
  403. addition, restricting the cursor's movement has shades of (gasp) MODES,
  404. and works against MultiFinder.  I think Apple has good reason not to
  405. document the cursor routines.
  406.  
  407. -----
  408. Lee Choquette                u-lchoqu@ug.utah.edu
  409. University of Utah Computer Center    CHOQUETTE@UTAHCCA.BITNET
  410. MEB 3440                utah-gr!utah-ug!u-lchoqu
  411. Salt Lake City, UT  84112        (801) 581-8504
  412.  
  413. ------------------------------
  414.  
  415. From: dwb@apple.UUCP (David W. Berry)
  416. Subject: Re: Mac SE SIMMs from MacProducts USA
  417. Date: 22 Sep 87 23:21:23 GMT
  418. Organization: Apple Computer Inc., Cupertino, USA
  419.  
  420. In article <3902@cisunx.UUCP> jasst3@cisunx.UUCP (sullivan jeffrey a.)
  421. writes:
  422. >Does anyone know anything about the $199 1Meg SIMMs being sold by MacProducts
  423. >USA (800-MAC-DISK)?
  424. ***********************************************************************
  425. *******  This is from a random interested user and has nothing ********
  426. *******  to do with my association with apple                  ********
  427. ***********************************************************************
  428.     I just called and asked about 1 Meg SIMMs and the scoop is that they
  429. are selling 120 NS 1 Meg SIMMS (good for Plus, SE or II) for $249 a
  430. piece. In other words, you need to pop $498 to add 2 Meg or a grand to
  431. upgrade to 4 Meg.  The upgrade is user installed and will probably void
  432. your warranty if it hasn't already expired.  About the only way to avoid
  433. voiding the warranty is to have an apple certified dealer install it.
  434. If you can talk one into installing these cheaper simms it shouldn't
  435. void the warranty.
  436.     As to the quoted $199 price "That was an earlier price and we were
  437. unable to get the chips at that price."  You decide whether or not it's
  438. misadvertisement.  It doesn't appear that they ever had any...
  439.     Still looks like a bargain to me if you don't mind dealing with folks
  440. who will quote a price they can't meet.
  441. --
  442.     David W. Berry
  443.     dwb@well.uucp                   dwb@Delphi
  444.     dwb@apple.com                   293-0752@408.MaBell
  445.  
  446.  
  447. ------------------------------
  448.  
  449. From: jasst3@cisunx.UUCP (sullivan jeffrey a.)
  450. Subject: New Apple RAM upgrade prices?
  451. Date: 22 Sep 87 17:00:59 GMT
  452. Organization: Univ. of Pittsburgh, Comp & Info Sys
  453.  
  454. I see from my friendly local dealers that Apple has dropped(?) their 2M
  455. upgrade price to $599.00.  Will this cause Dove to drop theirs from the
  456. $650 I've seen in DISCOUNT houses, or is there some difference between
  457. dove's upgrade (MacPlus 2S, I think) and Apple's?
  458.  
  459. ..........................................................................
  460. Jeff Sullivan                University of Pittsburgh
  461. jasst3@cisunx.UUCP            Intelligent Systems Studies Program
  462. jasper@PittVMS (BITNET)            Graduate Student
  463. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  464.  
  465. ------------------------------
  466.  
  467. From: tom@iconsys.UUCP (Tom Kimpton)
  468. Subject: Dialog Creator
  469. Date: 21 Sep 87 05:35:22 GMT
  470. Organization: Icon International Inc., Orem, Utah
  471.  
  472. I got a program about a month ago that I haven't seen mention of,
  473. perhaps because it's old hat, but it might be of interest of others out
  474. there.  It is called "Dialog Creator".  It's from a fellow at Apple
  475. Canada, Michael Bayer.  The easiest way to explain it is that it is kind
  476. of like a paint program for dialogs, with a palette of window types and
  477. itemlist types.  It doesn't really work that way but you get the
  478. picture. As you compose your dialog, it creates an RMaker file that you
  479. may later save, and compile, for inclusion in your program.  The version
  480. I have is copyright 1985 by.  Does anyone have or know the whereabouts
  481. of the latest version of this?  This version still has several bugs and
  482. is limited to 25 items per dialog.  It also makes reference to a
  483. possible descendent, "Resource Creator".  Has this taken it's place?
  484. Does it exist?
  485.  
  486. Anyway it's a great program to create dialogs with.
  487. --
  488. Tom Kimpton            seismo!utah-cs!utah-gr!uplherc!nrc-ut!iconsys!tom
  489. ICON International, Inc.    {ihnp4,psivax}!nrcvax!nrc-ut!iconsys!tom
  490. Orem, Utah 84058        tom@iconsys.caedm.byu.edu
  491. (801) 225-6888            iconsys!tom@byuadam.bitnet
  492.  
  493.  
  494. ------------------------------
  495.  
  496. From: jva@cadnetix.UUCP (Joe VanAndel)
  497. Subject: enabling the correct entries in the 'Edit' menu
  498. Date: 22 Sep 87 19:08:17 GMT
  499. Organization: Cadnetix Corp., Boulder, CO
  500.  
  501. I have a question about enabling/disabling the standard
  502. 'cut/copy/paste/clear' menu items under the 'Edit' menu.  If I have an
  503. application that has multiple windows, where one window supports
  504. 'cut/paste' and another doesn't, and I need to support desk-accessories
  505. that need the 'Edit' menu, what do I do?  I don't want menu entries that
  506. are non-functional to be enabled. I have discovered how to determine
  507. that a desk-accessory window had been activated or de-activated, and
  508. enabled/disabled the menu items appropriately, but then I discovered
  509. that I had missed the case of the desk-accesssory being closed, while
  510. its window was active.
  511.  
  512. I've probably gone down a blind alley, but could someone tell me the
  513. right way?
  514.  
  515. Thanks in advance!
  516. --
  517.     Joe VanAndel          UUCP:        hao!ico!cadnetix!jva
  518.     Cadnetix Corp.                  jva@cadnetix.UUCP
  519.     5757 Central Ave.
  520.     Boulder, CO 80301    Voice:        303-444-8075
  521.  
  522.  
  523. ------------------------------
  524.  
  525. From: tedj@hpcid.HP.COM (Ted Johnson)
  526. Subject: LSC bug?
  527. Date: 21 Sep 87 21:44:41 GMT
  528.  
  529. I'm having a very wierd problem with Lightspeed C's time() and ctime()
  530. functions.  They both print out the correct time, except that they're
  531. both exactly 5 hours fast!!
  532.  
  533.     #include  <unix.h>
  534.     #include  <stdio.h> /*I also included just about
  535.                      every manager there is.*/
  536.     main()
  537.     {
  538.     unsigned long a;
  539.     unsigned long clock;
  540.  
  541.         time(&a);
  542.         printf("%s", ctime(&a));
  543.         printf("%s", ctime(NULL));
  544.     }
  545.  
  546.     This program printed out "Mon Sept 21 05:55:01  1987"
  547.                  "Mon Sept 21 05:59:01  1987",
  548.     but my JClock said "0:59:01", so I know that the problem
  549.     isn't that my system clock is set wrong.
  550.  
  551.     This wierd behavior occurs with v2.01 and v2.11 of LSC,
  552.     on a Mac SE HD20 running 4.1/5.5.
  553.  
  554.     Any clues are greatly appreciated!
  555.  
  556.     -Ted
  557.  
  558.     UUCP:  hplabs!hpcea!hpcid!tedj
  559.  
  560. ------------------------------
  561.  
  562. From: housen@ssc-vax.UUCP (Kevin Housen)
  563. Subject: Porting Apollo software to the Mac
  564. Date: 21 Sep 87 13:42:07 GMT
  565. Organization: Boeing Aerospace Corp., Seattle WA
  566.  
  567.  
  568. I may need to port some software, which was written for Apollo
  569. computers, to the Mac II.  I am very familiar with the Mac but know
  570. little of the graphics environment of Apollos. I know that the software
  571. in question uses a graphics library called PHIGS. Has anyone out there
  572. had any experience in this kind of conversion?  I am curious as to the
  573. severity of the differences.
  574.  
  575.         Thanks a heap....
  576.  
  577.         Kevin Housen
  578.  
  579.  
  580. ------------------------------
  581.  
  582. From: singer@endor.harvard.edu (Andrew Singer)
  583. Subject: Re: LSC bug?
  584. Date: 23 Sep 87 13:27:14 GMT
  585. Organization: THINK Technologies, Inc, Bedford MA
  586.  
  587.     I reproduced this behavior, and asked some questions, and looked at the
  588. library sources, and it seems that the time() and ctime() functions
  589. return Greenwich Mean Time (GMT), *not* local time. The fault lies with
  590. the documentation for not reporting this little fact, and will be
  591. corrected.
  592.  
  593. If you need local time (or the machine's clock time) you can do
  594. something with the OS Utilites and the International Utilities Package:
  595.  
  596. #include <MacTypes.h>
  597. #include <stdio.h>
  598. #include <OSUtil.h>
  599. #include <IntUtilPkg.h> /* this may not be the right name? */
  600.  
  601. main()
  602. {
  603.     Str255 theDate, theTime;
  604.     long secs;
  605.  
  606.     GetDateTime(&secs);
  607.     IUDateString(secs, longDate, &theDate);
  608.     IUTimeString(secs, TRUE, &theTime);
  609.  
  610.     printf("%s\n", &theDate);
  611.     printf("%s\n", &theTime);
  612. }
  613.  
  614. I haven't actually tested this, and it's not an exact replacement of the
  615. unix time function, but it (or something like it) should work.
  616.  
  617.  
  618.         --Rich
  619.  
  620. **Note: The opinions herein are my own opinions and are not necessarily
  621. representative of the opinions of my employer (THINK Technologies, Inc.)
  622.  
  623. Richard M. Siegel Customer Support Representative THINK Technologies,
  624. Inc.
  625.  
  626.  
  627. ------------------------------
  628.  
  629. From: ranson@crcge1.UUCP (D. Ranson CNET)
  630. Subject: Re: Color for the SE? (Is this a dumb question?)
  631. Date: 22 Sep 87 06:04:12 GMT
  632.  
  633. One thing that has been overlooked in this discussion is that the trap
  634. table on the SE is too small to hold ColorQD traps. This rules out CQD
  635. on the SE.
  636.     Daniel Ranson
  637.     ...!seismo!mcvax!inria!{crcge1 or cnetlu}!ranson
  638.  
  639.  
  640. ------------------------------
  641.  
  642. From: graifer@net1.ucsd.edu (Dan Graifer)
  643. Subject: Re: APPLESHARE server sitting on ETHERNET
  644. Date: 23 Sep 87 18:56:22 GMT
  645. Organization: UCSD Office of Academic Computing
  646.  
  647.  
  648. Since my last posting on this subject, I have obtained more info.
  649.  
  650. First, just out of interest:  3Com now supports appletalk on their PC
  651. network servers in some fashion. Novell says they will have something
  652. similer via appletalk by January
  653.  
  654. I talked again, this time to tech folks at TOPS.  Very helpful.  You can
  655. network Macs and Unix machines over ethernet using TOPS and the Kinetics
  656. Ethernet controllers (both SCSI and the SE board).  You might call the
  657. technique "EtherTalk" as they are actually packaging up Appletalk
  658. messages for transmission in Ethernet Packits.  This is what the TOPS
  659. software expects to see on a unix server (by the way, a unix machine
  660. cannot be a client at  this time on a TOPS network).  It is also what
  661. the Kinetics fastpath expects to see translation to/from AppleTalk.  It
  662. is my understanding that the speed of Appletalk is limited by the
  663. Appletalk driver chips, which TOPS/Ethertalk will bypass.
  664.  
  665. Hope this helps.
  666.  
  667.                               Dan Graifer
  668.                               graifer@net1.UCSD.EDU
  669. Disclaimer: Nobody ever listens to me anyways; Why should they start now?
  670.  
  671. ------------------------------
  672.  
  673. From: sfl@sdcsvax.UCSD.EDU (Susan Fichera)
  674. Subject: Audio DACs and ADCs for the Mac II
  675. Date: 23 Sep 87 21:21:52 GMT
  676. Organization: U.C. San Diego
  677.  
  678.     Does anyone know of any ADCs and/or DACs which will operate with the
  679. Macintosh II and have at least 16-bit resolution, 44KHz speed, 2
  680. channels and ability to transfer samples directly to disc?
  681.  
  682. Thanks in advance,
  683.  
  684. Tom Erbe    (ucbvax!sdcarl!tre)
  685.  
  686.  
  687. ------------------------------
  688.  
  689. From: atchison@hpindda.HP.COM (Lee Atchison)
  690. Subject: Re: Printer Driver
  691. Date: 23 Sep 87 14:37:22 GMT
  692. Organization: Hewlett Packard, Cupertino
  693.  
  694. There is a product called LASERSTART which will allow you to use an HP
  695. Laserjet on a Macintosh.  According to the info I have, it is suppose to
  696. make "the LaserJet completely compatible with the Macintosh computer."
  697. The information goes on to say that it works with all software using the
  698. Mac printing standards like MacWrite, MacPaint, MS Word, etc.  I haven't
  699. tried the product, but only have an information sheet.  The product is
  700. available from:
  701.  
  702.         Softstyle, Inc.
  703.         7192 Kalanianaole Hwy., Suite 205
  704.         Honolulu, HI 96825
  705.         (808)396-6368
  706.  
  707. I heard about the article from an information sheet put out by HP about
  708. connecting the Laserjet, ThinkJet, and just about the whole line of HP
  709. plotters to a Macintosh.  I got the sheet by sending in a reader
  710. response card to an article HP had in MacWorld (I don't know what
  711. issue).
  712.  
  713. I hope this helps!  If you decide to get it, please followup to the net
  714. as far as its usefulness.  I might be interested in getting a Laserjet
  715. in the future (sure is a whole lot cheaper than the LaserWriter).
  716.  
  717.                 -lee
  718. --------
  719. Lee Atchison
  720. Hewlett Packard
  721. Information Networks Division
  722. Cupertino, CA 95014
  723. atchison%hpindda@hplabs.hp.com
  724. (408)447-3534
  725.  
  726. ------------------------------
  727.  
  728. From: lsr@apple.UUCP (Larry Rosenstein)
  729. Subject: Re: enabling the correct entries in the 'Edit' menu
  730. Date: 23 Sep 87 23:37:28 GMT
  731. Organization: Advanced Technology Group, Apple Computer
  732.  
  733. In MacApp we check for an active desk accessory after each event.  You
  734. do this by looking at the window kind field of the FrontWindow.  DA
  735. Windows have a negative window kind (it is the DA refnum).  If
  736. FrontWindow returns NIL, then there are no windows open.
  737.  
  738. --
  739. Larry Rosenstein
  740.  
  741. Object Specialist
  742. Apple Computer
  743.  
  744. AppleLink: Rosenstein1
  745. UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
  746. CSNET: lsr@Apple.com
  747.  
  748.  
  749. ------------------------------
  750.  
  751. From: david@hpsmtc1.HP.COM (David Williams)
  752. Subject: Re: Printer Driver
  753. Date: 23 Sep 87 20:34:25 GMT
  754. Organization: Hewlett Packard, Cupertino
  755.  
  756. Be careful!
  757.  
  758. As the Laserjet as configured does not support postscript! So what you
  759. see on the screen is not necessarily what you get on the printout...Mind
  760. you I have not used Softstyles product personally, I have just read
  761. various  comments on various BBSs. If your Laserjet does not have enough
  762. memory I  would assume that you would get chopping of the images at 300
  763. dpi.
  764.  
  765. Now, this package might be more than enough if you are printing just
  766. straight text. I also think they have a new version of the product.
  767.  
  768. --------------------------------------------------------------------
  769. The usual witty and humorous disclaimers apply....
  770.  
  771. David Williams
  772. HyperCard Jedi in training
  773. Hp Cupertino
  774. Down the street from Apple
  775. -------------------------------------------------------------------
  776.  
  777. ------------------------------
  778.  
  779. From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
  780. Subject: Who rules the menu bar?
  781. Date: 23 Sep 87 21:00:32 GMT
  782. Organization: Mentor Graphics, Beaverton OR
  783.  
  784. I have a question concerning the use of the menu bar.   Since the
  785. current application gets to use the menu  bar for its menus, doen't this
  786. entitle the application to user the WHOLE menubar?
  787.  
  788. The problem.  Programs like Switcher and Multifinder user the right hand
  789. side of the menu bar to put a small 'picture'.  (ie double arrow, or the
  790. current application)
  791.  
  792. If an applications menus were to reach that far right, who has the right
  793. to use that space.  It seems to me that the menu bar belongs to the
  794. application, and not the running environment.
  795.  
  796. In a program I'm writing I put my own SICN's in the right side of the
  797. menu bar, which would compete with Switch or Mulitfinder.
  798.  
  799. Who has the right of way?
  800.  
  801. :------------------------------------------------------------:
  802. : Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
  803. : Mentor Graphics             GEnie:                         :
  804. :------------------------------------------------------------:
  805.  
  806. ------------------------------
  807.  
  808. End of Usenet Mac Digest
  809. ************************
  810.